<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">
<h:head>
    <title>#{msg.text_Adminka}</title>
    <f:event type="preRenderView" listener="#{config.checkAdmin}"/>
    <h:outputStylesheet library="css" name="style-sampleAdmin.css"/>
</h:head>
<h:body>

<div class="header">
    <div class="button">
    <h:link value="Главная" outcome="/admin/admin"/>
    </div>
<div class="button">
    <h:link value="Редактирование пользователей" outcome="/admin/editUser"/>
</div>
    <div class="button">
    <h:link value="Редактирование объявлений" outcome="/admin/editAd"/>
    </div>
    <div class="button">
    <h:link value="Заполнение справочников" outcome="/admin/fillingDirectories"/>
    </div>
    <div class="button">
    <h:link value="Выйти" outcome="/index" style="color: red"/>
    </div>
</div>
<div class="content">
    <ui:insert name="content">
        fdvbxbc
    </ui:insert>
</div>

</h:body>
</html>


